//
//  String+Category.swift
//  SinaWebo
//
//  Created by mis on 16/3/23.
//  Copyright © 2016年 mis. All rights reserved.
//

import Foundation

extension String {
    var emojiString: String {
        let scanner = NSScanner(string: self)
        var value: UInt32 = 0
        scanner.scanHexInt(&value)
        let char = Character(UnicodeScalar(value))
        return "\(char)"
    }
}
